package cn.uexpo.lhz.dao;



import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import cn.uexpo.lhz.domain.Event;
import cn.uexpo.lhz.domain.ManageEquipment;
import cn.uexpo.lhz.domain.ManageEquipmentExample;


public interface ManageEquipmentMapper {
    long countByExample(ManageEquipmentExample example);

    int deleteByExample(ManageEquipmentExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(ManageEquipment record);

    int insertSelective(ManageEquipment record);
    
    List<ManageEquipment> selectManageEquipmentDependencyAllByID(ManageEquipment record);//一对多 
    
    List<ManageEquipment> selectByExampleWithBLOBs(ManageEquipmentExample example);

    List<ManageEquipment> selectByExample(ManageEquipmentExample example);
    
    List<Map> selectManageEquipmentAll(ManageEquipment record);//查询设备名称

    ManageEquipment selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") ManageEquipment record, @Param("example") ManageEquipmentExample example);

    int updateByExampleWithBLOBs(@Param("record") ManageEquipment record, @Param("example") ManageEquipmentExample example);

    int updateByExample(@Param("record") ManageEquipment record, @Param("example") ManageEquipmentExample example);

    int updateByPrimaryKeySelective(ManageEquipment record);

    int updateByPrimaryKeyWithBLOBs(ManageEquipment record);

    int updateByPrimaryKey(ManageEquipment record);
    
    int updateByPrimaryKey2(ManageEquipment record);//解除位置

    int updateByExampleSelective(ManageEquipment record);
    
    List<ManageEquipment> listShow(ManageEquipment manageEquipment);
    
    
    List<ManageEquipment> selectAll();

    int updateByextStr2s(List<Integer> list);//批量停用设备
    
}